package com.yuandian.ops.workbench.enums;

/**
 * 告警指标编码   BS_FAIL_RATE_10:失败率   BS_FAIL_RATE_20：响应时长  BS_FAIL_RATE_30：健康度
 * @author: linshihe
 * @date: 2021/10/25
*/
public enum AlarmIndicatorCodeEnum {

    fail("BS_FAIL_RATE_10", "失败率"),

    dealTime("BS_FAIL_RATE_20", "响应时长"),

    healthy("BS_FAIL_RATE_30", "健康度");

    /**
     * 指标类型
     */
    private String indicatorType;

    /**
     * 指标类型描述
     */
    private String indicatorDesc;

    AlarmIndicatorCodeEnum(String indicatorType, String indicatorDesc) {
        this.indicatorType = indicatorType;
        this.indicatorDesc = indicatorDesc;
    }

    public String getIndicatorType() {
        return indicatorType;
    }

    public String getIndicatorDesc() {
        return indicatorDesc;
    }
}
